function InputManager(){}
InputManager.prototype = new Entity();


InputManager.prototype.init = function()
{
}

InputManager.prototype.loadPreset = function()
{
  this.addEntity("KeyboardInput", "KeyboardInput");
  this.addEntity("MouseInput", "MouseInput");
}


InputManager.prototype.update = function()
{
  for (var entityClass in this.entities) {
    for (var i=0; i < this.entities[entityClass].length; i++) {
        this.entities[entityClass][i].update();
    }
  }
}